<!-- CBRTE is written by Kevin Roth //-->
<!-- html2xhtml.js written by Jacob Lee <letsgolee@lycos.co.kr> //-->
<script language="JavaScript" type="text/javascript" src="{U_BASEURL}/rte/html2xhtml.min.js"></script>
<script language="JavaScript" type="text/javascript" src="{U_BASEURL}/rte/richtext_compressed.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
    function submitForm() {
        //make sure hidden and iframe values are in sync for all rtes before submitting form
        updateRTEs();
        return true;
    }

    //Usage: initRTE(imagesPath, includesPath, cssFile, genXHTML, encHTML)
    initRTE("rte/images/", "rte", "", true);
//-->
</script>
<form autocomplete=off method=post name=msg action="{U_SUBMIT}" onsubmit="return submitForm();">
<input type=hidden name=sid value="{SID}">
<input type=hidden name=pastebox value="{SID}">
<script language="JavaScript" type="text/javascript">
<!--
    //build new richTextEditor
    var message = new richTextEditor('message');
    message.height=200;
    message.width=480;
    message.toolbar1 = false;
    message.toolbar2 = true;
    message.toggleSrc = false;
    message.build();
//-->
</script>
<input class=post type=submit value=Send>
<input class=post type=button value="Close Window" onclick="window.close()">
</form>
